//
//  DataArchiveViewCell.m
//  PASystem
//
//  Created by 刘沿 on 16/8/30.
//  Copyright © 2016年 czd. All rights reserved.
//

#import "DataArchiveViewCell.h"

@implementation DataArchiveViewCell

+ (instancetype)WithDataArchiveViewCell{

    return [[[NSBundle mainBundle] loadNibNamed:@"DataArchiveViewCell" owner:nil options:nil] lastObject];
}

- (void)setModel:(DataArchiveModel *)model{
    _model = model;
    self.TITLE.text = model.TITLE;
    self.DEPT.text = model.DEPT;
    if (model.WITHTHING.length != 0) {
        
        self.WITHTHING.text = model.WITHTHING;
    }else{
    
    self.WITHTHING.text = @"";
    }
}


@end
